package com.property.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;


import com.property.entity.Owner;
import com.property.entity.User;

public interface UserDao {
	List<User> getAll();
	User loginUser(@Param("userName")String userName,@Param("passWord")String passWord);
	
	void addUser(User user);   
	int checkUsername(String userName);
	
	void upLoginTime(@Param("id")int id,@Param("time")String time);//更新最新登陆时间
	int getLoginCount(String time);
	
	void updateUser(User user);	
	User idUser(String userName);
	void delUserManage(int uid);
}
